If you have read the website designed by Google
Many technical blog said the site source code released: http://code.google.com/p/20thingsilearned/
However, the download link cannot be found.
After searching, I finally found it on html5rocks.
After downloading and testing, I was somewhat disappointed. The function is much weaker than 20 thingsilearned.
However, the source code is very concise and neat, with detailed remarks, and then with
Recently on the service workers more and more research and discussion, today will give me to comb some resources, let everyone see quickly. 1. What is service workers.
We know the native app has rich offline experience, such as timed silent update, message notification push and other functions, was once a Web application "envy Envy hate" function. These features are also available with the service Worker,web app.
Simply put, Service workers gives web apps a great offline experience that gives d
If you have read the website designed by Google lt; 20 instructions on browsers and networks gt;, you will definitely like the simulated page flip effect. many technical blogs say that the source code of the website has been released: Ghost
If you have read a website designed by Google
, Will certainly like the simulation of the page flip effect.
Many technical blog said the site source code released: http://code.google.com/p/20thingsilearned/
However, the download link cannot be found.
of bytes that can be directly read by JavaScript on iOS 6 and the number of file operations on the client. HTML5ROCKS has a good API example.Network Audio API
HTML5 game developers should like it! Network Audio API first appeared in Mobile browsers. This JavaScript API allows us to process and synthesize audio. If you have never played some low-level audio, the API may look a little weird, but it will be hard to understand after a while. Similarly,
the impact of gravity.
For deviceorientation, there is a detailed introduction Article "this end up: Using device orientation" on html5rocks, which is of great reference value.
Let's first listen to motion sensing events.
[HTML]View plaincopyprint?
If (window. devicemotionevent ){
Window. addeventlistener ('deviceid', devicemotionhandler, false );
}
If (window. devicemotionevent) {
Then obtain the acceleration of gravity.
[HTML]View plaincop
Recently read a few html5rocks on the CSS3 animation performance optimization of the article, learned a lot, here to record, where the knowledge is from these two articles, I just intercepted one of the more concerned about the content, the original address of the high performance Animations and accelerated Rendering in chrome principleModern browsers when using CSS3 animations, the following four scenarios are more efficient to draw: * Change positio
Html5.js
HTML5 related Specifications/References and compatibility Kit (HTML5 Friends Specs/ref Polyfills)
Webbrowsercompatibility.com
HTML5 Friends, from Mozilla
Html5rocks
HTML5 Cross Browser Polyfills
Html5-information and samples for HTML5 and related APIs
HTML 5 Demos and Examples
Svg
Svg-edit Browser Editor
D3.js
Raphaeljs
bonsaijs.org
Canvas
P
-security-policy-report-only" head and let the browser return a URL of your choice. It is recommended to read an introduction to CSP on Html5rocks.What do you have to pay attention to?Unfortunately, IE only supports sandbox mode and uses the "X" prefix. An Andro It supports the latest version 4.4.Of course, it is not omnipotent, if you dynamically generate a JavaScript, hackers can still put malicious JS into your server. Including it is harmless and protects users in Chrome, Firefox, and iOS.Wh
(let i=0,len=arr.length; ifunction*, declare the constructor, return {Value:v,done:true_or_false}. The constructor can call next to get the next value, which can be constructed like a random number generator.Yield and function* are used together. In the constructor function, yield can pause and then return the value of the current expression.For example function A () {yield 1;yield 2;}; var gen=a (); Console.log (Gen.next ()); Console.log (Gen.next ()); Console.log (Gen.next ()); The result is
Article Description: Google Web App Development Guide Chapter One: What is Web Apps?
A lot of people asked me about the authority to learn HTML5 technology, I always hesitate to recommend Google launched by the Html5rocks, this site is like a treasure trove, including classic tutorials, articles, demo and code. Recently, the Chrome team has launched a cool web App ebook that tells the Chrome developers about web apps and best practices,
Safari 5 have supported a number of HTML5 standards, and currently the latest version of IE 9 also supports a number of HTML5 standards, as users are upgraded to a new version of the browser, Developers should be able to start developing now!
For old browser compatibility, CSS3 pie, previously written by Inside, is a JavaScript library that allows older browsers to support CSS 3 features.
Modernizer is also a fairly important JavaScript library that provides developers with a r
orthenMethod object or function (thenable ).
Similar static methods includePromise.cast(promise), Generate a promise with promise as the positive result;
Promise.reject(reason)To generate a promise with the reason as the negative result.
Our actual use scenarios may be very complex. We often need to execute multiple asynchronous tasks in parallel or in serial mode. In this case, you can perform various extensions on Promise, suchPromise.all(), Accept the promises queue and wait for them to fini
, but function-level.
For example, if arr = [0, 1, 2], we often write a loop for (var I = 0, len = arr. length; I
If let, for (let I = 0, len = arr. length; I
Function * declares the constructor and returns {value: v, done: true_or_false }. The constructor can call next to obtain the next value and construct a random number generator.
Yield and function * are used together. In the constructor function, yield can pause and return the value of the current expression.
For example, function a ()
Html5.js
HTML5 related Specifications/References and compatibility Kit (HTML5 Friends Specs/ref Polyfills)
Webbrowsercompatibility.com
HTML5 Friends, from Mozilla
Html5rocks
HTML5 Cross Browser Polyfills
Html5-information and samples for HTML5 and related APIs
HTML 5 Demos and Examples
Svg
Svg-edit Browser Editor
D3.js
Raphaeljs
bonsaijs.org
Canvas
P
domstringarraybuffer arraybufferblob blobdocument DocumentGive me a chestnut:var xhr = new XMLHttpRequest (); Xhr.open (' GET ', '/path/to/image.png ', true); Xhr.responsetype = ' arraybuffer '; xhr.onload = function (e) { //This.response = = Uint8array.buffer var uint8array = new Uint8array (this.response);}; Xhr.send ();We set the property to Arraybuffer in Xhr.responsetype, then we can accept it with typed array in the data we get!Iv. SummaryThis paper
happened to see in the delivery of books, and then looked for their blog on the record of some things to its shameless rubbing book ~ ~ ~Small ads: More content can be seen on my blogRecently read a few html5rocks on the CSS3 animation performance optimization of the article, learned a lot, here to record, where the knowledge is from these two articles, I just intercepted one of the more concerned about the content, the original address of the high pe
Recently on the service workers more and more research and discussion, today will give me all to comb some resources, let everyone see as fast!!1. What is service workers?We know the native app has rich offline experience, such as timed silent update, message notification push and other functions, was once a Web application "envy Envy hate" function. These features are also available with the service Worker,web app.Simply put, Service workers gives web apps a great offline experience that gives
HTML5 is an upgraded version of HTML. More and more developers and designers are starting to use html5. today we will introduce the best HTML5/css3 demo (PPT) tools and frameworks, you can use them to create your webpage PPT, which is amazing.
1.Impress. jsThis tool was previously introduced by oschina. It is mainly based on css3 transformation and switching. Only supports modern browsers, and the effect is amazing. (Demo address)
2.Reveal. js
This is a CSS-bas
complex. We usually use mean blur and Gaussian blur. In html5rocks, there is a great article "image filterswith canvas", which contains various image processing effects. We can directly apply the fuzzy effects (that is, the mean blur of 3x3 ).
Source image
Sharpen
Sopell Filter
The Code is as follows:
VaR filters ={};
The code for adding two effects to the image in the canvas is as follows:
VaR width = data. width;
In this way, we have comp
HTML5Rocks contains a lot of JavaScript tutorials. You need to really use the features of JavaScript in HTML5. You don't need to know that you will get a lot of resources from various writers, including the Google browser team.9. SuperheroJSWhen you visit this website for the first time, it may hit you because it requires skilled people to enter. This reminds me of a classic comic book called Dick Tracy. Here, you will immerse yourself in one of the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.